|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.framework.engine.runtime.Builder
public abstract class Builder
A factory class that can construct and configure instances of a component.
| Constructor Summary | |
|---|---|
protected |
Builder()
Creates a new Builder. |
| Method Summary | |
|---|---|
void |
configure()
Configures the currently active component instance. |
java.lang.Object |
create()
Creates an instance of the component. |
protected abstract IContext |
createServiceRegistry()
Creates a service registry for the current scope. |
protected abstract java.lang.reflect.Constructor[] |
getConstructors()
Returns the constructors for the component. |
protected abstract java.lang.reflect.Method[] |
getMutators()
Returns the mutator methods of the component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Builder()
| Method Detail |
|---|
public java.lang.Object create()
throws java.lang.IllegalStateException
null if it could not
be created.
java.lang.IllegalStateException - If a previously created component has not
been configured.
public void configure()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - If there is no currently active component
instance.protected abstract java.lang.reflect.Constructor[] getConstructors()
protected abstract java.lang.reflect.Method[] getMutators()
protected abstract IContext createServiceRegistry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||